<%@ page contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Hyves.net - Always in touch with your friends</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta content="info@hyves.net" name="owner" />
		<meta content="http://www.hyves.net" name="author" />
		<meta content="General" name="rating" />
		<link href="<%=basePath %>/style/main.css" type="text/css" rel="stylesheet" />
		<link href="<%=basePath %>/style/style20.css" type="text/css" rel="stylesheet" />
		<link href="images/favicon.ico" type="image/x-icon"
			rel="shortcut icon" />
		<link href="<%=basePath %>/style/ie6.css" type="text/css" rel="stylesheet" />
		
	</head>
	<body>
		<jsp:include page="/site/common/header.jsp"></jsp:include>
		<!-- 提示信息 -->
		<% if(request.getAttribute("error")!=null){ %>
		<div id="page-feedback">
			<div id="feedback">
				<div class="feedback-box error">
					<div class="feedback-hdr">
						<strong>Uh oh...</strong>
					</div>
					<ul>
						<li class="first">
							用户名或密码错误,请重新输入!如果忘记了密码,
							<a
								href="https://secure.hyves.org/index.php?l1=ut&amp;l2=fp&amp;l3=hm">点击这里</a>找回密码!
						</li>
					</ul>
					<a class="close" href="javascript:void(0);">Close</a>
					<div class="left"></div>
					<div class="right"></div>
				</div>
			</div>
		</div>
		<%} %>
		<div id="page-con">
			<div id="page-con-hdr">
				<div class="box">
					<div class="box-con-bg"></div>
				</div>
				<div class="border"></div>
				<div class="bg"></div>
			</div>
			<!-- page-con-hdr -->
			<div id="page-con-body">
				<div class="wrapper w4">
					<div class="section s1">
						<div class="plain-box">
							<div class="plain-box-hdr">
								<div class="plain-box-hdr-bg"></div>
								<div class="plain-box-hdr-inner">
									<h2>
										Log in
									</h2>
								</div>
							</div>
							<div class="plain-box-con">
								<div class="plain-box-con-bg"></div>
								<div class="plain-box-con-inner">
									<div class="box-con-sctn first">
										<form action="<%=basePath %>/user/login" method="post">
											<p>
												Please enter your username &amp; password:
											</p>
											<ul class="login-box">
												<li class="first">
													<label for="user.email">
														通行证账号
													</label>
													<input name="user.email" />
												</li>
												<li>
													<label for="user.password">
														密码
													</label>
													<input type="password" name="user.password" />
												</li>
												<li>
													<label for="initialPresenceHeaderBox">
														登录状态
													</label>
													<select id="initialPresenceHeaderBox"
														name="login_initialPresence">
														<option value="online" selected="selected">
															在线
														</option>
														<option value="busy">
															忙碌
														</option>
														<option value="berightback">
															马上回来
														</option>
														<option value="away">
															离开
														</option>
														<option value="phone">
															电话中
														</option>
														<option value="lunch">
															外出就餐
														</option>
														<option value="offline">
															离线
														</option>
													</select>
												</li>
												<li>
													<label for="auth_autologin">
														<input id="auth_autologin" type="checkbox"
															name="auth_autologin" />
														&nbsp; 记住我
													</label>
													<span class="button primary-button"><span> <input
																id="btnLogin" type="submit" value="Log in "
																name="btnLogin" /> </span>
													</span>
												</li>
											</ul>
											<ul class="general-optns">
												<li class="first">
													<a href="http://www.hyves.nl/forgotpassword/">忘记密码?</a>
												</li>
												<li>
													<a
														href="<%=basePath %>/user/register">我还没有账号,马上申请。
													</a>
												</li>
											</ul>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- section s1 -->
				</div>
				<!-- wrapper w4 -->
				<div class="border"></div>
				<div class="bg"></div>
			</div>
			<!-- page-con-body -->
			<div id="page-con-ftr">
				<div class="border"></div>
				<div class="bg"></div>
			</div>
			<!-- page-con-ftr -->
		</div>
		<!-- page-con -->
		<!-- 页尾 -->
		<jsp:include page="/site/common/footer.jsp"></jsp:include>
	</body>
</html>